package com.itheima.date;

import java.util.Calendar;
import java.util.Date;

public class CalendarDemo1 {
    public static void main(String[] args) {
        Calendar c = Calendar.getInstance();

        //计算某年的二月有多少天
        Date date = new Date();
        System.out.println(date.toLocaleString());
    }


}
